package cn.jwcat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("s_staff")
public class Staff implements Serializable {

	/**
	 * 管理员id
	 */
	@TableId(value = "staff_id", type = IdType.AUTO)
	private Integer staffId;

	/**
	 * 姓名
	 */
	@TableField("username")
	private String username;

	/**
	 * 密码
	 */
	@TableField("password")
	private String password;

	/**
	 * 邮箱
	 */
	@TableField("email")
	private String email;

	/**
	 * 电话号码
	 */
	@TableField("telephone")
	private String telephone;

	/**
	 * 身份证号码
	 */
	@TableField("id_card")
	private String idCard;

	/**
	 * 图片存放路径
	 */
	@TableField("picture")
	private String picture;

	/**
	 * 地址信息
	 */
	@TableField("address")
	private String address;

	/**
	 * 账号状态
	 */
	@TableField("status")
	private Boolean status;

	/**
	 * 备注
	 */
	@TableField("remark")
	private String remark;

	@TableField(exist = false)
	private Boolean bool;

}
